<?php

namespace App\Http\Requests\API;

class AuthRequest extends Request
{
    protected $exception = ['user_id'];
    public function rules()
    {
        return [
            'open_id' => 'required',
            'nickname' => 'required',
            'user_id' => 'numeric|exists:users,id',
        ];
    }
}
